<template>
  <div class="demo-box">
    text：{{text}}
    <Input v-model="text" placeholder="请输入xxx"></Input>
  </div>
</template>

<script lang='tsx'>
import {defineComponent, ref} from 'vue';
  export default defineComponent({
    name: "InputDemo",
    setup() {
      const text = ref('');
      return {
        text
      }
    }
  });
</script>

<style lang='scss' scoped>
</style>
